﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NewConversionTypeForm.cs" company="Voogd en Voogd Diensten">
//   Copyright 2008-2009 Voogd en Voogd Diensten
// </copyright>
// <author>Jelle</author>
// <summary>
//   De NewConversionTypeForm class.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace GLCDDesigner2
{
    using System.Windows.Forms;

    /// <summary>
    /// Implementeert de NewConversionTypeForm
    /// </summary>
    public partial class NewConversionTypeForm : Form
    {
        /// <summary>
        /// Leest of schrijft bitmapSelected
        /// </summary>
        public bool bitmapSelected { get; set; }

        /// <summary>
        /// Leest of schrijft fontSelected
        /// </summary>
        public bool fontSelected { get; set; }

        /// <summary>
        /// Leest of schrijft hexSelected
        /// </summary>
        public bool hexSelected { get; set; }

        /// <summary>
        /// Initialiseert een nieuwe instantie van de NewConversionTypeForm class
        /// </summary>
        public NewConversionTypeForm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// New conversion type form form closing
        /// </summary>
        /// <param name="sender">De Sender param van het type object</param>
        /// <param name="e">De E param van het type FormClosingEventArgs</param>
        private void NewConversionTypeForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.bitmapSelected = radioButton1.Checked;
            this.fontSelected = radioButton2.Checked;
            this.hexSelected = radioButton3.Checked;
        }
    }
}

